<?php
	/*
	** Your code here
	*/
	//echo 'Trang chu';
	//echo $_COOKIE["localize"];
	//$ck=$_COOKIE["localize"];
	//echo $LOCAL;
	include_once('libs/htdu_core.php');
	$exe_mysql = new execute_mysql_query();
	$result1 = $exe_mysql->execute("select * from node where id_type = 2 order by id desc limit 1", 0);
	$row1 = mysql_fetch_array($result1);
	$result2 = $exe_mysql->execute("select * from node where id_type = 1 and id_ref =2 order by id desc limit 1", 0);
	$row2 = mysql_fetch_array($result2);
	$result3 = $exe_mysql->execute("select * from node where id_type = 1 and id_ref =3 order by id desc limit 1", 0);
	$row3 = mysql_fetch_array($result3);
	$result4 = $exe_mysql->execute("select * from node where id_type = 1 and id_ref =4 order by id desc limit 1", 0);
	$row4 = mysql_fetch_array($result4);
?>
<link rel="stylesheet" href="css/text_css_hqk.css" type="text/css" />
<div class="main">
	<div class="main_sub_left">
		<div class="title"><a href="gioi-thieu.html"><?php echo $row1['title_'.$LOCAL]; ?></a></div>
		<div class="hinh"><a href="gioi-thieu.html"><img src="<?php echo $row1['img']; ?>" width="100%" height="330px" border="0px" /></a></div>
			<?php echo $row1['description_'.$LOCAL]; ?>
		<!--<a href="" class="view-more">Xem tiếp</a>-->
	</div>

	<div class="main_sub_right">
		   
        <div class="title"><a href="san-pham.html"><?php echo $row3['title_'.$LOCAL]; ?></a></div>
		<div class="hinh"><a href="san-pham.html"><img src="<?php echo $row3['img']; ?>" width="100%" height="330px" /></a></div>
			<?php echo $row3['description_'.$LOCAL]; ?>
	</div>
</div>
<div class="main">
	<div class="main_sub_left">
    	<a href="gioi-thieu.html" class="view-more"><?php echo $MULTI_LANG->get_word_by_key('read_more'); ?></a>
    </div>
    <div class="main_sub_right">
    	<a href="san-pham.html" class="view-more"><?php echo $MULTI_LANG->get_word_by_key('read_more'); ?></a>
    </div>
</div>

<div class="main">
	<div class="main_sub_left">
		<div class="title"><a href="dich-vu.html"><?php echo $row2['title_'.$LOCAL]; ?></a></div>
		<div class="hinh"><a href="dich-vu.html"><img src="<?php echo $row2['img']; ?>" width="100%" height="330px" border="0px" /></a></div>
			<?php echo $row2['description_'.$LOCAL]; ?>
	</div>

	<div class="main_sub_right">
		<div class="title"><a href="du-an.html"><?php echo $row4['title_'.$LOCAL]; ?></a></div>
		<div class="hinh"><a href="du-an.html"><img src="<?php echo $row4['img']; ?>" width="100%" height="330px" /></a></div>
			<?php echo $row4['description_'.$LOCAL]; ?>
	</div>
</div>
<div class="main">
	<div class="main_sub_left">
    	<a href="dich-vu.html" class="view-more"><?php echo $MULTI_LANG->get_word_by_key('read_more'); ?></a>
    </div>
    <div class="main_sub_right">
    	<a href="du-an.html" class="view-more"><?php echo $MULTI_LANG->get_word_by_key('read_more'); ?></a>
    </div>
</div>
